<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use Faker\Generator as Faker;
use Modules\Edu\Entities\Lesson;
$factory->define(Lesson::class, function (Faker $faker) {
    return [
        //
        'title'=>$faker->words(10,true),
        'description'=>$faker->realText(200),
        'thumb'=>$faker->imageUrl(320,320,'cats'),
        'price'=>$faker->randomFloat(5,50,1000),
        'free_num'=>$faker->numberBetween(2,10),
        'download_address'=>$faker->url,
        'site_id'=>1,
        'user_id'=>1
    ];
});
